// -----------------------------------------------------------------------
//  <copyright file="RoleOutDto.cs" company="LiuliuSoft">
//      Copyright (c) 2022-2024 DaprPlus. All rights reserved.
//  </copyright>
//  <site>https://dapr.plus</site>
//  <last-editor>郭明锋</last-editor>
//  <last-date>2024/12/12 23:51</last-date>
// -----------------------------------------------------------------------

using Liuliu.Fsb.Services.Identity.Domain.Entities;

namespace Liuliu.Fsb.Services.Identity.Application.Identity.Roles.Queries;

[MapFrom(typeof(Role))]
public class RoleOutDto
{
    public long Id { get; set; }

    public required string Name { get; set; }

    public string? Remark { get; set; }

    public bool IsSystem { get; set; }

    public bool IsAdmin { get; set; }

    public bool IsDefault { get; set; }

    public bool IsLocked { get; set; }

    public DateTime CreatedTime { get; set; }
}
